home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_amanda.idb / usr / freeware / libexec / amplot.gp.z / amplot.gp
Encoding:
Text File  |  1999-07-16  |  3.2 KB  |  71 lines

  1. #
  2. # Amanda, The Advanced Maryland Automatic Network Disk Archiver
  3. # Copyright (c) 1992,1993.1994-1998 University of Maryland at College Park
  4. # All Rights Reserved.
  5. #
  6. # Permission to use, copy, modify, distribute, and sell this software and its
  7. # documentation for any purpose is hereby granted without fee, provided that
  8. # the above copyright notice appear in all copies and that both that
  9. # copyright notice and this permission notice appear in supporting
  10. # documentation, and that the name of U.M. not be used in advertising or
  11. # publicity pertaining to distribution of the software without specific,
  12. # written prior permission.  U.M. makes no representations about the
  13. # suitability of this software for any purpose.  It is provided "as is"
  14. # without express or implied warranty.
  15. #
  16. # U.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  17. # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL U.M.
  18. # BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  19. # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  20. # OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  21. # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  22. #
  23. # Author: Olafur Gudumundsson, (ogud@tis.com)  Trusted Information Systems
  24. # Formerly at:           Systems Design and Analysis Group
  25. #              Computer Science Department
  26. #              University of Maryland at College Park
  27. #
  28. # program to print the summary graph for the amanda runs in gnupot
  29. # gnumaster.awk will generate the data for this one 
  30. #    Creation Date July 1992
  31. #    Last modified: May 1993
  32. #    Input: the files specified below on the  plot line
  33. #    Output: a postscript file 
  34. #
  35. set data style lines
  36. set xrange [0:210]
  37. set yrange [0:420]
  38. set xlabel "Minutes"
  39. #set xtics 0,10
  40. set xtics ( \
  41.     "0:00"   0, ""  10, "0:20"  20, ""  30, "0:40"  40, ""  50,\
  42.     "1:00"  60, ""  70, "1:20"  80, ""  90, "1:40" 100, "" 110,\
  43.     "2:00" 120, "" 130, "2:20" 140, "" 150, "2:40" 160, "" 170,\
  44.     "3:00" 180, "" 190, "3:20" 200, "" 210, "3:40" 220, "" 230,\
  45.     "4:00" 240, "" 250, "4:20" 260, "" 270, "4:40" 280, "" 290,\
  46.     "5:00" 300, "" 310, "5:20" 320, "" 330, "5:40" 340, "" 350,\
  47.     "6:00" 360, "" 370, "6:20" 380, "" 390, "6:40" 400, "" 410,\
  48.     "7:00" 420, "" 430, "7:20" 440, "" 450, "7:40" 460, "" 470,\
  49.     "8:00" 480, "" 490, "8:20" 500, "" 510, "8:40" 520, "" 530)
  50.  
  51. set ytics ("0" 0, "20" 15, "40" 30, "60" 45, "80" 60, "100" 75,\
  52.     "Idle" 90,"Active" 100, \
  53.     "0" 120, "20" 140,"40" 160, "60" 180, "80" 200, "100" 220,\
  54.     "0" 250, "100" 280,\
  55.     "0"   300, "60"  320, "120" 340, "180" 360, "240" 380, "300" 400,\
  56.     "360" 420, "420" 440, "480" 460, "540" 480, "600" 500)
  57.  
  58. #set size 0.7,1.3; set term postscript portrait "Times-Roman" 10
  59. #set size 0.9,0.9; set term postscript landscape "Times-Roman" 12
  60. # file title has the parameters that this program needs
  61. load 'title'
  62. plot     "run_queue" title "Run Queue" with line 3,\
  63.     "tape_queue" title "Tape Queue" with line 2,\
  64.     "finished"  title "Dumps Finished" with line 4,\
  65.     "bandw_free" title "Bandwidth Allocated" with line 6, \
  66.     "disk_alloc" title "%Disk Allocated" with line 1, \
  67.     "tape_wait" title "%Tape Wait" with line 5,\
  68.     "tape_idle" title "Taper Idle" with line 1,\
  69.     "dump_idle" title "Dumpers Idle" with line 4
  70. pause -1;
  71.